package com.sbc.design.config;

import com.sbc.base.config.ApplicationBaseAutoConfiguration;
import com.sbc.design.chain.AbstractChainContext;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @description: 设计模式自动装配
 * @author: songbaicheng
 * @create: 2024-05-30 15:37
 **/
@ImportAutoConfiguration(ApplicationBaseAutoConfiguration.class)
public class DesignPatternAutoConfiguration {

    /**
     * 责任链上下文
     */
    @Bean
    public AbstractChainContext abstractChainContext() {
        return new AbstractChainContext();
    }
}
